# gnuplot

#set title 'test_10.a_1'

set xlabel 'Cantidad de iteraciones'
set ylabel 'Error relativo'

set key left Left

set log

set style line 1 lt rgb "red" lw 2
set style line 2 lt rgb "blue" lw 2
set style line 3 lt rgb "brown" lw 2
set style line 4 lt rgb "black" lw 2
set style line 5 lt rgb "violet" lw 2
set style line 6 lt rgb "green" lw 2

plot 'test_10.a_1.csv' using 1:((column(2))) ls 1 title "Backward 0" with lines,'test_10.a_1.csv' using 1:((column(3))) ls 2 title "Forward 0" with lines,'test_10.a_1.csv' using 1:((column(4))) ls 3 title "Horn 0" with lines,'test_10.a_1.csv' using 1:((column(5))) ls 4 title "Backward 1" with lines,'test_10.a_1.csv' using 1:((column(6))) ls 5 title "Forward 1" with lines,'test_10.a_1.csv' using 1:((column(7))) ls 6 title "Horn 1" with lines

pause mouse

# deja un png
set terminal epslatex dashed 
set output 'test_10.a_1.eps'
replot
